<template>
	<el-dialog  v-model="show" title="负责人安全短信验证" width="620" align-center>
        <div class="content">
            <div class="desc text">
                本操作需要运营负责人 【刘*】的手机号【133****880】进行短信验证， 
                <div>
                    收到的验证码有效期为十分钟
                </div>
            </div>
            <div class="item pd-10">
                <span class="text">图形验证码：</span>
                <el-input style="width:100px;margin-left:10px"></el-input>
                <span class="fb" style="">2672</span>
            </div>
            <div class="tip pd-10">若图形验证码过期或无效，请点击图形验证码刷新</div>
            <div class="item pd-10">
                <span class="text">图形验证码：</span>
                <el-input style="width:100px;margin-left:10px"></el-input>
                <el-button round color="#faaf3b" style="color:#fff;margin-left:10px">获取验证码</el-button>
            </div>
        </div>
        <template #footer>
            <div class="dialog-footer">
                <el-button type="primary" @click="submit()" color="#0071bb">确定</el-button>
                <el-button @click="close()">取消</el-button>
            </div>
        </template>
    </el-dialog>
</template>

<script lang="ts" setup>
import { ref } from "vue";
import { defineEmits } from 'vue';
const emit = defineEmits(['close','submit']);
// 取消
const close = () => {
    emit('close')
}
const submit = () => {
    emit('submit')
}
const show = ref<boolean>(true)
</script>

<style lang="scss" scoped>
.df{
    display: flex;
    align-items: center;
}
.desc{
    background: #00ffff;
    padding: 20px;
}
.item{
    margin-top: 20px;
}
.pd-10{
    padding: 0 20px;
    box-sizing: border-box;
}
.fb{
    color: #000000;
    font-weight: bold;
    font-size: 16px;
    margin-left:10px
}
.text{
    color: #4D4D4D;
}
.tip{
    color: #989898;
    margin-top:10px;
}

.dialog-footer{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
}
</style>